package com.sn.author.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/9/21 19:15
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("任务模型")
@AllArgsConstructor
@NoArgsConstructor
public class TaskBasisInfo implements Serializable {

    @ApiModelProperty("任务id")
    @NotNull(message = "任务id不能为空")
    private Long taskId;

    @ApiModelProperty("任务模型 10(登录) 20(关注) 30(点赞) 40(评论)")
    @NotNull(message = "请选择任务类型")
    private Integer type;

}
